
<!-----------------新闻表 弹出框 界面----------------->

<p-card [style]="{width: '800px','height':'560px'}">

    <div class="ui-g-12 ui-md-12">
      <div class="ui-inputgroup">
        <span class="ui-inputgroup-addon">外标题</span>
        <input [(ngModel)]="news.title1" type="text" pInputText placeholder="请输入外标题" style="width: 400px">
      </div>
    </div>
  <div class="ui-g-12 ui-md-12">
    <div class="ui-inputgroup">
      <span class="ui-inputgroup-addon">内标题</span>
      <input [(ngModel)]="news.title2" type="text" pInputText placeholder="请输入内标题" style="width: 400px">
    </div>
  </div>

    <div class="ui-g-12 ui-md-12">
      <div class="ui-inputgroup">
        <span class="ui-inputgroup-addon">作者</span>
        <input [(ngModel)]="news.author" type="text" pInputText placeholder="请输入作者" style="width: 400px">
      </div>
    </div>

    <p-editor [(ngModel)]="news.content"  [style]="{'height':'300px','width':'772px'}"></p-editor>

  <p-footer>
    <!--使用逻辑部分的 save() 方法实现 保存 -->
    <p-button label="保存" (click)="save()" ></p-button>
  </p-footer>

</p-card>
